﻿namespace Growatt.ShinebusService.Model
{
    public class FirmwareUploadInfoResponse
    {
        public string NewPackagePath { get; set; }

        public int UploadStatus { get; set; }

        public string Message { get; set; }


        public FirmwareUploadInfoResponse()
        {
            // 默认构造函数，可以初始化默认值
            NewPackagePath = string.Empty;
            UploadStatus = 0; // 默认为上传失败
            Message = string.Empty;
        }

        public FirmwareUploadInfoResponse(string newPackagePath, int uploadStatus, string message)
        {
            NewPackagePath = newPackagePath;
            UploadStatus = uploadStatus;
            Message = message;
        }
    }
}
